package com.vueblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户关注表
 * @TableName t_follow
 */
@TableName(value ="t_follow")
@Data
public class Follow implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer followId;

    /**
     * 被关注者user_id
     */
    private String beSubscribe;

    /**
     * 关注者user_id
     */
    private String subscribe;

    /**
     * 关注关系存续状态，0-存在关注关系，1-取消关注
     */
    private Integer isDel;

    /**
     * 最后变更时间
     */
    private Date followUpdateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}